package com.wasion.pwportable.domain.po;

import com.wasion.core.db.orm.annotation.Column;
import com.wasion.core.db.orm.annotation.Id;
import com.wasion.core.db.orm.annotation.Table;

@Table(name = "terminal")
public class Terminal {
	// ID @Id主键,int类型,数据库建表时此字段会设为自增长
	@Id
	@Column(name = "_id")
	private int _id;

	// 终端无线模块地址
	@Column(name = "wirelessaddr")
	private String wirelessaddr;

	// 终端地址编号
	@Column(name = "terminaladdr", type = "UNIQUE")
	private String terminaladdr;

	// 所属线路编号
	@Column(name = "lineid") 
	private String lineid;
	
	
	// 所属线路名称
	private String linename;

	// 时间
	@Column(name = "time")
	private String time;

	// 备注
	@Column(name = "remark")
	private String remark;

	// SVG 内容
	@Column(name = "svgcontent", type = "blob")
	private String svgcontent;

	// 安装位置
	@Column(name = "location")
	private String location;

	public String getLineid() {
		return lineid;
	}

	public void setLineid(String lineid) {
		this.lineid = lineid;
	}

	public String getLinename() {
		return linename;
	}

	public void setLinename(String linename) {
		this.linename = linename;
	}

	public int get_id() {
		return _id;
	}

	public void set_id(int _id) {
		this._id = _id;
	}

	public String getWirelessaddr() {
		return wirelessaddr;
	}

	public void setWirelessaddr(String wirelessaddr) {
		this.wirelessaddr = wirelessaddr;
	}

	public String getTerminaladdr() {
		return terminaladdr;
	}

	public void setTerminaladdr(String terminaladdr) {
		this.terminaladdr = terminaladdr;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getSvgcontent() {
		return svgcontent;
	}

	public void setSvgcontent(String svgcontent) {
		this.svgcontent = svgcontent;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}
}
